import request from '@/utils/request.js'

export function getArticleList (params) {
  return request({
    url: '/v1_1/articles',
    method: 'get',
    params
  })
}

export function getArticleById (articleId) {
  return request({
    url: '/v1_0/articles/' + articleId,
    method: 'get'
  })
}
